package com.shenyong.ladmin.service.Impl;

import com.shenyong.ladmin.mapper.Article_KindMapper;
import com.shenyong.ladmin.entity.Article_Kind;
import com.shenyong.ladmin.service.Article_KindService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class Article_KindServiceImpl implements Article_KindService {
  @Autowired
  private Article_KindMapper article_KindMapper;

  public List<Article_Kind> article_KindAll(Map<String, Object> map) {
    return article_KindMapper.article_KindAll(map);
  }

  public int article_KindCount(Map<String, Object> map) {
    return article_KindMapper.article_KindCount(map);
  }

  public int article_KindAdd(Article_Kind article_kind) {
    return article_KindMapper.article_KindAdd(article_kind);
  }

  public int article_KindUpdate(Article_Kind article_kind) {
    return article_KindMapper.article_KindUpdate(article_kind);
  }

  public int article_KindDelete(int aid) {
    return article_KindMapper.article_KindDelete(aid);
  }
}
